<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>postFormValue</title>
</head>

<body>
    <!-- form的enctype这里改变了 -->
    <form action="http://localhost:8080/formPost" method="post" enctype="multipart/form-data">
        用户名：<input type="text" name="username" value="波哥"><br />
        密码：<input type="password" name="password" value="bobobo">
        <input type="file" name="fileupload">
        <input type="submit">
    </form>
</body>

</html>
<!-- 关于postFormValue方法的使用 -->